<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

{config_load file="index.conf"}

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$language->getLanguage()}" dir="{$language->getDirection()}">
	<head>
		{include file=$theme->getTemplateUrl("head_common.tpl")}
		<title>{#PAGE_TITLE#}</title>
	</head>
	
	<body>
		{include file=$theme->getTemplateUrl("body_start.tpl")}
		
		<h2>{#HEADING_TITLE#}</h2>
		
		<p>
			{if $account->isRegistered()}
				{$account->getCustomerName()|string_format:#TEXT_GREETING_PERSONAL#}
				{$account->getCustomerName()|string_format:#TEXT_GREETING_PERSONAL_RELOGON#}
			{else}
				{#TEXT_GREETING_GUEST#}
			{/if}
		</p>
		
		<p>{#TEXT_MAIN#}</p>
		
		{include file=$theme->getTemplateUrl("catalog_module_inline.tpl") type="core.newproducts" show="3" header=$smarty.now|date_format:"%B"|string_format:#HEADING_NEW_PRODUCTS#}
		
		{include file=$theme->getTemplateUrl("catalog_module_inline.tpl") type="core.specials" show="3" header=#HEADING_SPECIALS_PRODUCTS#}
		
		{include file=$theme->getTemplateUrl("catalog_module_inline.tpl") type="core.upcomingproducts" show="3" header=#HEADING_UPCOMING_PRODUCTS#}
		
		{include file=$theme->getTemplateUrl("body_end.tpl")}
	</body>
</html>
